public class Ticket {
    private String ticketId;
    private Session session;
    private int row;
    private int col;
    private String buyer;
    private boolean refunded;

    public Ticket(String ticketId, Session session, int row, int col, String buyer) {
        this.ticketId = ticketId;
        this.session = session;
        this.row = row;
        this.col = col;
        this.buyer = buyer;
        this.refunded = false;
    }

    public String getTicketId() { return ticketId; }
    public Session getSession() { return session; }
    public int getRow() { return row; }
    public int getCol() { return col; }
    public String getBuyer() { return buyer; }
    public boolean isRefunded() { return refunded; }
    public void setRefunded(boolean refunded) { this.refunded = refunded; }
}